Skip to content

rename nullable to optional #937#960

Merged
dOrgJelli merged 1 commit intoprealpha-devfrom
937-nullable-optional
Jun 27, 2022
Merged

rename nullable to optional #937#960
dOrgJelli merged 1 commit intoprealpha-devfrom
937-nullable-optional

Conversation

@fetsorn
Copy link
Copy Markdown
Contributor

@fetsorn fetsorn commented Jun 24, 2022

Values that are not guaranteed to exist can be called Nullable, if empty values equal null, or Optional, if empty values still encapsulate the original data type.
At first assemblyscript msgpack implementation used nullable and the Nullable container. Then rust msgpack kept the same naming convention, even though it used Option types. Now that assemblyscript also uses Option types, the naming should be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants